
<div id="page-wrapper" >
    <div id="page-inner">
        <div class="row">
            <div class="col-md-12">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        银行人员列表
                        <button class="pull-right" ng-click="add()"><span class="glyphicon glyphicon-plus"></span></button>
                    </div>
                    <div class="panel-body">
                        <div class="table-responsive">
                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                <thead>
                                <tr>
                                    <th>姓名</th>
                                    <th>人员级别</th>
                                    <th>电话</th>
                                    <th>账号</th>
                                    <th>绑定网点</th>
                                    <th>删除</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr class="gradeA odd" ng-repeat="item in bankUserList" on-finish-render-filters>
                                    <td class="sortin   g_1">{{item.staffName}}</td>
                                    <td class="center">{{item.level | bankLevel }}</td>
                                    <td class="center">{{item.phone}}</td>
                                    <td class="center">{{item.account}}</td>
                                    <td class="center">{{item.bankNet.netName}}</td>
                                    <td class="center">
                                        <button ng-click="del($index)" ng-show="item.staffId!=$root.AdminInfo.staffId"><span class="glyphicon glyphicon-remove-sign"></span></button>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>

</div>
<script type="text/ng-template" id="myModalContent.html">
    <div class="modal-header">
        <h3>I'm a modal!</h3>
    </div>
    <div class="modal-body">
        <ul>
            <li ng-repeat="item in items">
                <a ng-click="selected.item = item">{{ item }}</a>
            </li>
        </ul>
        Selected: <b>{{ selected.item }}</b>
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary" ng-click="ok()">OK</button>
        <button class="btn btn-warning" ng-click="cancel()">Cancel</button>
    </div>
</script>